﻿			</div>
			<div id="footer">
				<div id="footer_left">
					<div id="logo">
						<a href="#"><img src="<?php bloginfo('template_url'); ?>/images/logo.png" height="98" alt="Logo of nhattiendan.com"/></a>
					</div>
					<?php
						$category_id = get_category_by_slug( 'news' )->cat_ID;
						$tin_tuc_link = get_category_link( $category_id );
						
						$category_id = get_category_by_slug( 'agencies' )->cat_ID;
						$diem_ban_link = get_category_link( $category_id );

						$page_questions = get_page_by_path( 'frequently-asked-questions' );
						$page_questions_link = get_page_link( $page_questions->ID );
						
						$page_contact = get_page_by_path( 'contact-us' );
						$page_contact_link = get_page_link( $page_contact->ID );
					?>
					<div id="submenu">
						<ul>
							<li><a href="<?php echo get_home_url(); ?>"><span><?php if(qtrans_getLanguage()=='en'): ?>Home Page<?php else: ?>Trang chủ<?php endif; ?></span></a></li>
							<li><a href=""><span>|</span></a></li>
							<li><a href="<?php echo $page_questions_link; ?>"><span><?php if(qtrans_getLanguage()=='en'): ?>FAQ<?php else: ?>Hỏi đáp<?php endif; ?></span></a></li>
							<li><a href=""><span>|</span></a></li>
							<li><a href="<?php echo $tin_tuc_link; ?>"><span><?php if(qtrans_getLanguage()=='en'): ?>News<?php else: ?>Tin tức<?php endif; ?></span></a></li>
							<li><a href=""><span>|</span></a></li>
							<li><a href="<?php echo $diem_ban_link; ?>"><span><?php if(qtrans_getLanguage()=='en'): ?>Locations<?php else: ?>Điểm bán<?php endif; ?></span></a></li>
							<li><a href=""><span>|</span></a></li>
							<li><a href="<?php echo $page_contact_link; ?>"><span><?php if(qtrans_getLanguage()=='en'): ?>Contacts<?php else: ?>Liên hệ<?php endif; ?></span></a></li>
						</ul>
					</div>
					<div id="copyright">Copyright © 2013 nhattiendan.com. All Rights Reserved. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="font-weight: bold; color: #ddd;">Hotline: 0121 555 68 68</span></div>
				</div>
				<div id="footer_center">
					<ul>
						<li><a href="https://www.facebook.com/picoman.imc" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/facebook.png" width="122" height="27" alt="Facebook of nhattiendan.com" /></a></li>
						<li><a href="https://www.youtube.com/user/PicomanR" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/youtube.png" width="102" height="24" alt="Youtube of nhattiendan.com"/></a></li>
						<li><a href="https://plus.google.com/u/0/114955008953853443814/posts" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/googleplus.png" width="144" height="27" alt="Google+ of nhattiendan.com" /></a></li>
					</ul>
				</div>
				<div id="footer_right" style="overflow:hidden">
					<div class="flickr">
						<?php
							$tat_theme_options_arr = get_option( 'tat_theme_options_arr' );
							$image_location_1 = $tat_theme_options_arr['image_location_1'] ? $tat_theme_options_arr['image_location_1'] : '#';						
							$image_location_2 = $tat_theme_options_arr['image_location_1'] ? $tat_theme_options_arr['image_location_2'] : '#';	
							$image_location_3 = $tat_theme_options_arr['image_location_1'] ? $tat_theme_options_arr['image_location_3'] : '#';	
						?>
						<a href="#"><img src="<?php echo $image_location_1; ?>" alt="Ảnh 47 của picoman.vn" title=""></a>
						<a href="#"><img src="<?php echo $image_location_2; ?>" alt="Ảnh 44 của picoman.vn" title=""></a>
						<a href="#"><img src="<?php echo $image_location_3; ?>" alt="Ảnh 46 của picoman.vn" title=""></a>
					</div>
				</div>
			</div>
		</div>
	<?php wp_footer(); ?>
	</body>
</html>